package com.mobileares.midp.demo.client.page;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.FlowPanel;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Widget;
import com.mobileares.midp.widgets.client.panel.ContentPanel;

/**
 * Created by IntelliJ IDEA.
 * User: Tom
 * Date: 2011-7-22
 * Time: 16:44:49
 * To change this template use File | Settings | File Templates.
 */
public class Panel extends Composite {
    private FlowPanel panel;
    public Panel(){
        panel = new FlowPanel();
        initWidget(panel);
        panel.add(getContentPanel());
    }

      private Widget getContentPanel() {
        ContentPanel cp = new ContentPanel();
        cp.setHead("人员管理");
        cp.setContent(new Label("OH,YEAH!"));
        cp.setWidth("300px");
        return cp;
    }
}
